package com.interfacedemo;

public class StudentInterfaceImpl implements StudentInterface{

    @Override
    public void eat(Student student) {
        System.out.println(student.getName() + "吃饭");
    }

    @Override
    public void sleep(Student student) {
        System.out.println(student.getName() + "睡觉");
    }
}
